<div id="sanpham_right">
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title">THÊM CHI TIẾT HÓA ĐƠN</p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
                <div id="noidung_right">


	<form name = "frm_addkhachhang" method = "post" action = "">
	<table width = "795" cellpadding = "2" cellspacing = "2" border = "0" align = "center" bgcolor = "#D4D0C8">
	<tr>
		<td valign = "top" align = "center">Mặt hàng</td>
		<td valign = "top" align = "left">
			<select name = "cmb_MatHang">
			<?php if(is_array($data['listmh'])){
					foreach ($data['listmh'] as $item){?>
							<option value="<?php echo $item['MaMH'];?>">
								<?php echo $item['TenMH'];?>
							</option>
				<?php } 
			
					} ?>
		</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Người Lập</td>
		<td valign = "top" align = "left"> 
				<select name = "cmb_HoaDon">
			<?php if(is_array($data['listhd'])){
					foreach ($data['listhd'] as $item){?>
							<option value="<?php echo $item['MaHD'];?>">
								<?php echo $item['NguoiLap'];?>
							</option>
				<?php } 
			
					} ?>
		</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Ngày Lập</td>
		<td valign = "top" align = "left"> 
			<select name = "cmb_HoaDon">
			<?php if(is_array($data['listhd'])){
					foreach ($data['listhd'] as $item){?>
							<option value="<?php echo $item['MaHD'];?>">
								<?php echo $item['NgayLap'];?>
							</option>
				<?php } 
			
					} ?>
		</select>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Số Lượng</td>
		<td valign = "top" align = "left"> 
				<input name = "SoLuong" type = "text" value = "" id="input"/>
		</td>
	</tr>
	<tr>
		<td valign = "top" align = "center">Đơn Giá</td>
		<td valign = "top" align = "left"> 
				<input name = "DonGia" type = "text" value = "" id="input"/>
		</td>
	</tr>
	<tr>
		<td align = "center"> <input name = "bt_ok" type = "submit" value = "Thêm mới"/> 
		</td>
		<td align = "center">
		  <input name = "bt_reset" type = "reset" value = "Lam Lai"/> </td>
	</tr>
	 </table>
</form>
</div>
</div>

